<template>
  <div class="box">
    <header class="header">
      <div class="top">
        <a>我的</a>
        <router-link tag="a" to="/message" class="iconfont icon-lingdangcopy"></router-link>
        <router-link tag="a" to="/set" class="iconfont icon-shezhi2"></router-link>
      </div>
    </header>
    <div class="content">
      <img src="./../../assets/delicious.png"/>
      <router-link to="/register" tag="p">登 录 / 注 册</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name:'user',
  data () {
    return {
    }
  },
  methods: {
  },
  mounted(){
  }
  }
</script>

<style lang="scss" scoped>
@import '@/lib/reset.scss';
  .header{
    @include rect(100%,0.44rem);
    @include background-color(#fff);
    @include text-color(#000);
    border-bottom:1px solid #bbb;
    .top{
      @include rect(100%,0.44rem);
      a:nth-of-type(1){
        @include font-size(16px);
        @include text-color(#000);
        @include line-height(44px);
        @include margin(0 15px);
        float:left;
      }
      a:nth-of-type(2){
        @include font-size(20px);
        @include text-color(#000);
        @include line-height(44px);
        @include margin(0 15px);
        float: right;
      }
      a:nth-of-type(3){
        @include font-size(20px);
        @include text-color(#000);
        @include line-height(44px);
        float:right;
      }
    }
  }
  .content{
    @include rect(100%,auto);
    img{
      @include rect(95%,56%);
      @include margin(40px 10px);
      @include background-color(#fff);
    }
    p{
      @include rect(3rem,0.4rem);
      @include background-color(#ffb31a);
      @include text-color(#fff);
      @include font-size(14px);
      text-align:center;
      @include line-height(40px);
      @include margin(30px auto);
      border-radius: 20px;
    }
  }

</style>
